22. Depth-First Search
Depth-First Search
Depth-First Search
QUIZ QUESTION: :
On which steps of its search would the DFS algorithm reach the nodes labelled A, B, and C?
ANSWER CHOICES:
|
Node |
Expansion Order |
|---|---|
|
20 |
|
|
28 |
|
|
18 |
|
|
14 |
|
|
32 |
|
|
25 |
SOLUTION:
|
Node |
Expansion Order |
|---|---|
|
20 |
|
|
18 |
|
|
32 |
L2 98 DFS Part 2 V3
SOLUTION:
- Neither